package org.zju.demo.service.intf;

import org.zju.demo.model.Product;

import java.util.List;

/**
 * Created by admin on 2015/8/27.
 */
public interface ProductInfoIntf {
    public Product findByProductId(int productId);
    public void addProduct(String productName, float price, int amount, String company);
    public int updateProduct(Product product);
    public List<Product> getAllProduct();
    public List<Product> findByProductName(String name);
    public boolean addProduct(Product product);
}
